package com.bike.entity;

import java.math.BigDecimal;
import java.util.List;

import com.bike.util.TimeManager;
import com.bike.vo.PcJsonView;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonView;

public class HhOrder {
	@JsonView(PcJsonView.class)
	 private Long orderId; 
	  
	 private Long userId; 
	 private String userName; 
	  
	 private Integer addTime; 
	  
	 private Integer sendTime; 
	 
	 private Integer successTime; 
	 
	 private Integer payStatus; 
	 @JsonView(PcJsonView.class)
	 private Integer orderStatus; 
	 @JsonView(PcJsonView.class)
	 private BigDecimal sendFee; 
	 @JsonView(PcJsonView.class)
	 private Long sendUserId; 
	 @JsonView(PcJsonView.class)
	 private String sendUserName; 
	 @JsonView(PcJsonView.class)
	 private Integer totalCount; 
	 @JsonView(PcJsonView.class)
	 private BigDecimal totalPrice; 
	 @JsonView(PcJsonView.class)
	 private BigDecimal orderPrice; 
	 @JsonView(PcJsonView.class)
	 private BigDecimal servicePrice; 
	 @JsonView(PcJsonView.class)
	 private BigDecimal withdrawPrice; 
	 @JsonView(PcJsonView.class)
	 private BigDecimal agentPrice; 
	 @JsonView(PcJsonView.class)
	 private BigDecimal platformPrice; 
 
	 private BigDecimal discountPrice; 
	 
	 private Long businessId; 
	 
	 private String businessName;
	 
	 private Long roomId; 
	 
	 private String room; 
	 @JsonView(PcJsonView.class)
	 private Integer payWay; 
	  
	 private Integer refundCount; 
	 private Integer channel; 
 
	 private BigDecimal refundFee;
	  
	 private Long businessUserId;
 
	 private Integer diningId; 
	 @JsonView(PcJsonView.class)
	 private String diningName; 
	 @JsonView(PcJsonView.class)
	 private String note; 
	 
	 private String openid; 
	 @JsonView(PcJsonView.class)
	private String addTimeText;
	 @JsonView(PcJsonView.class)
	private String sendTimeText;
	 @JsonView(PcJsonView.class)
	private String successTimeText;
	 private Long agentId;
	
	 private List<HhOrderFood> children;
 
	public Long getAgentId() {
		return agentId;
	}
	public void setAgentId(Long agentId) {
		this.agentId = agentId;
	}
	public List<HhOrderFood> getChildren() {
		return children;
	}
	public void setChildren(List<HhOrderFood> children) {
		this.children = children;
	}
	public BigDecimal getAgentPrice() {
		return agentPrice;
	}
	public void setAgentPrice(BigDecimal agentPrice) {
		this.agentPrice = agentPrice;
	}
	public BigDecimal getPlatformPrice() {
		return platformPrice;
	}
	public void setPlatformPrice(BigDecimal platformPrice) {
		this.platformPrice = platformPrice;
	}
	public BigDecimal getWithdrawPrice() {
		return withdrawPrice;
	}
	public void setWithdrawPrice(BigDecimal withdrawPrice) {
		this.withdrawPrice = withdrawPrice;
	}
	public Integer getChannel() {
		return channel;
	}
	public void setChannel(Integer channel) {
		this.channel = channel;
	}
	public BigDecimal getServicePrice() {
		return servicePrice;
	}
	public void setServicePrice(BigDecimal servicePrice) {
		this.servicePrice = servicePrice;
	}
	public BigDecimal getOrderPrice() {
		return orderPrice;
	}
	public void setOrderPrice(BigDecimal orderPrice) {
		this.orderPrice = orderPrice;
	}
	public String getAddTimeText() {
    	Integer time=getAddTime();
    	return TimeManager.TimenintyToString(time*1000L);
	}
	public void setAddTimeText(String addTimeText) {
		this.addTimeText = addTimeText;
	}
	public String getSendTimeText() {
		Integer time=getSendTime();
    	return TimeManager.TimenintyToString(time*1000L);
	}
	public void setSendTimeText(String sendTimeText) {
		this.sendTimeText = sendTimeText;
	}
	public String getSuccessTimeText() {
		Integer time=getSuccessTime();
    	return TimeManager.TimenintyToString(time*1000L);
	}
	public void setSuccessTimeText(String successTimeText) {
		this.successTimeText = successTimeText;
	}
	
	public String getNote() {
		return note;
	}
	public void setNote(String note) {
		this.note = note;
	}
	public String getOpenid() {
		return openid;
	}
	public void setOpenid(String openid) {
		this.openid = openid;
	}
	public Long getOrderId() {
        return orderId;
    }
     public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }
    public Long getUserId() {
        return userId;
    }
     public void setUserId(Long userId) {
        this.userId = userId;
    }
    public String getUserName() {
        return userName;
    }
     public void setUserName(String userName) {
        this.userName = userName;
    }
    public Integer getAddTime() {
        return addTime;
    }
     public void setAddTime(Integer addTime) {
        this.addTime = addTime;
    }
    public Integer getSendTime() {
        return sendTime;
    }
     public void setSendTime(Integer sendTime) {
        this.sendTime = sendTime;
    }
    public Integer getSuccessTime() {
        return successTime;
    }
     public void setSuccessTime(Integer successTime) {
        this.successTime = successTime;
    }
    public Integer getPayStatus() {
        return payStatus;
    }
     public void setPayStatus(Integer payStatus) {
        this.payStatus = payStatus;
    }
    public Integer getOrderStatus() {
        return orderStatus;
    }
     public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }
    public BigDecimal getSendFee() {
        return sendFee;
    }
     public void setSendFee(BigDecimal sendFee) {
        this.sendFee = sendFee;
    }
    public Long getSendUserId() {
        return sendUserId;
    }
     public void setSendUserId(Long sendUserId) {
        this.sendUserId = sendUserId;
    }
    public String getSendUserName() {
        return sendUserName;
    }
     public void setSendUserName(String sendUserName) {
        this.sendUserName = sendUserName;
    }
    public Integer getTotalCount() {
        return totalCount;
    }
     public void setTotalCount(Integer totalCount) {
        this.totalCount = totalCount;
    }
    public BigDecimal getTotalPrice() {
        return totalPrice;
    }
     public void setTotalPrice(BigDecimal totalPrice) {
        this.totalPrice = totalPrice;
    }
    public BigDecimal getDiscountPrice() {
        return discountPrice;
    }
     public void setDiscountPrice(BigDecimal discountPrice) {
        this.discountPrice = discountPrice;
    }
    public Long getBusinessId() {
        return businessId;
    }
     public void setBusinessId(Long businessId) {
        this.businessId = businessId;
    }
    public String getBusinessName() {
        return businessName;
    }
     public void setBusinessName(String businessName) {
        this.businessName = businessName;
    }
    public Long getRoomId() {
        return roomId;
    }
     public void setRoomId(Long roomId) {
        this.roomId = roomId;
    }
    public String getRoom() {
        return room;
    }
     public void setRoom(String room) {
        this.room = room;
    }
    public Integer getPayWay() {
        return payWay;
    }
     public void setPayWay(Integer payWay) {
        this.payWay = payWay;
    }
    public Integer getRefundCount() {
        return refundCount;
    }
     public void setRefundCount(Integer refundCount) {
        this.refundCount = refundCount;
    }
    public BigDecimal getRefundFee() {
        return refundFee;
    }
     public void setRefundFee(BigDecimal refundFee) {
        this.refundFee = refundFee;
    }
    public Long getBusinessUserId() {
        return businessUserId;
    }
     public void setBusinessUserId(Long businessUserId) {
        this.businessUserId = businessUserId;
    }
    public Integer getDiningId() {
        return diningId;
    }
     public void setDiningId(Integer diningId) {
        this.diningId = diningId;
    }
    public String getDiningName() {
        return diningName;
    }
     public void setDiningName(String diningName) {
        this.diningName = diningName;
    }
}